
<include file="__THEME__/header" />

<link href="../Public/privacy.css" rel="stylesheet" type="text/css" />
<script>
    //解除屏蔽
    function removePing(id) {
        $.post(URL+"/removeBlack",{id:id},function(txt){
                 if(txt){
                     $("#ping_"+id).hide("slow");
                 }else{
                     Alert("解除失败!")
                 }
             });
    }
</script>


<div class="content"><!-- 内容 begin  -->
    <include file="__THEME__/apps" />
    <div class="main"><!-- 画布 begin  -->

        
 <div class=page_title> <!-- page_title begin -->
                    <h2><img src="../Public/images/ico_ys.gif" />隐私管理</h2>
                <div class="c"></div>
</div><!-- page_title end -->
                <div class="tab-menu"><!-- 切换标签 begin  -->
                    <ul>
                        <li><a href="__URL__"><span>基本选项</span></a></li>
                        <li><a href="__URL__/feed"><span>我的动态</span></a></li>
                        <li><a href="__URL__/visit"><span>访问限制</span></a></li>
                        <li><a href="__URL__/black" class="on"><span>黑名单</span></a></li>
                    </ul>
                </div><!-- 切换标签 end  -->

       
<div class="PBox" style="padding-top:30px;"><!-- 黑名单 begin  -->
                    <h3 class="lh35 btmline"><strong>当前黑名单</strong></h3>
                    <ul>
                        <php>if(!$pings){</php> <li>当前黑名单为空</li> <php>}</php>
                        <li>
                            <volist name="pings" id="vo">
                                <div class="prohibiter" id="ping_{$vo.id}">
                                    <span class="pt5"><img src="../Public/images/ico_estop.gif" alt="限制访问我的首页" /></span>
                                    <span>{$vo.fname}</span>
                                    <span class="pt5"><a href="javascript:removePing({$vo.id})"><img src="../Public/images/ico_xdel.gif" alt="删除" /></a></span>
                                </div>                                
                            </volist>
                            {$page}
                        </li>
                    </ul>
                    <h3 class="lh35 btmline"><strong>添加黑名单</strong></h3>
                        <form action="__URL__/addBlack" method="post" class="form_validator">
                            <div class="pt10" style="width:302px;">
                                {:W("SelectFriend")}
                                &nbsp;<br>
                                <input type="submit" class="btn_b" value="添 加" />
                            </div>
                        </form>
                </div><!-- 黑名单end -->




    </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
